@echo off
echo Installing required Python packages...
pip install Flask requests pydub spacy

echo Installing spaCy language model...
python -m spacy download zh_core_web_sm

echo Creating necessary directories...
if not exist .\temp mkdir temp
if not exist .\output mkdir output
if not exist .\db mkdir db

echo Initializing database...
python -c "from database_utils import init_db; init_db()"

echo Setup complete.
pause
